package com.bjpowernode.api.service;

import com.bjpowernode.api.vo.IncomeInfo;

import java.util.List;

/**
 * @description:
 * @author: panDeng_Zhu
 * @time: 2022/11/19 13:09
 */

public interface IncomeService {


    /**
     * 查询用户最近收益记录
     * @param userId
     * @return
     */
    List<IncomeInfo> queryIncomeInfoByUserId(Integer userId, Integer pageNo, Integer pageSize);

    /**
     * 定时任务：生成收益计划
     */
    void generateIncomePlan();

    /**
     *定时任务：收益返还计划
     */
     void generateIncomeBack();
}
